package com.xxwu.springlibrary.mapper;

import com.xxwu.springlibrary.model.UserInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserMapper {
    @Select("select `user_name`, `password` from user_info  " +
            "where `user_name` = #{username}")
    UserInfo selectUserByUserName(String name);
}
